Visual Basic (Declaration) | |
---|---|
Public Overloads Sub HitTestAsync( _ ByVal screenRect As Rect, _ ByVal maxHits As Integer, _ ByVal resultCallback As Action(Of IList(Of S57FeatureObject)) _ ) |
C# | |
---|---|
public void HitTestAsync( Rect screenRect, int maxHits, Action<IList<S57FeatureObject>> resultCallback ) |
Parameters
- screenRect
- A System.Windows.Rect in screen coordinates within the current Map Control on-screen extent.
- maxHits
- The maximum number of hits (S57FeatureObjects) to return.
- resultCallback
- A callback when the HitTest has completed.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8